package chapter1.wrappe.task;
/*
4：输入两个整数，输出他们 & |  ^的结果。
 */

import java.util.Scanner;

public class Task4 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.print("输入两个数：");
        int a = input.nextInt();
        int b = input.nextInt();
        System.out.println(a & b);
        System.out.println(a | b);
        System.out.println(a ^ b);


    }
}
